import imgAlart from './alart'
// import drag from "@/common/directive/localDirective/el-drag-dialog/drag";

// export default {
//   install (Vue) {
//     Vue.directive('imgAlart', imgAlart)
//   }
// }
const install = function(Vue) {
  Vue.directive('imgAlart', imgAlart)
}

if (window.Vue) {
  window['imgAlart'] = imgAlart
  Vue.use(install);  // eslint-disable-line
}

imgAlart.install = install
export default imgAlart
